<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<link href="../shop/main.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript"
	SRC="../shop/main.js">
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>게시글 입력 결과</title>
</head>
<body>
<div id="logo-wrap">
<div id="logo">
<h1><a href="../shop/shop.jsp">Shop </a></h1>
<h2>Design your dream</h2>
</div>
<div>
<ul>
	<li id="search">
	<form method="get" action="">
	<fieldset><input type="text" id="s" name="s" value="" /> <input
		type="submit" id="x" value="Search" /></fieldset>
	</form>
	</li>
</ul>
</div>
</div>
<!-- start header -->
<div id="header">
<div id="menu">
<ul id="tabSubmenu">
	<li><a href="#">SHOP</a>
	<ul>
		<li><a href="#">top</a></li>
		<li><a href="#">out</a></li>
		<li><a href="#">pants</a></li>
		<li><a href="#">skirt</a></li>
		<li><a href="#">dress</a></li>
		<li><a href="#">bag</a></li>
		<li><a href="#">etc</a></li>
	</ul>
	</li>
	<li><a href="#">TO OFFER</a>
	<ul>
		<li><a href="#">trend</a></li>
		<li><a href="#">style</a></li>
	</ul>
	</li>
	<!-- 
	<li><a href="#">COMMUNITY</a>
	
	<ul>
		<li><a href="./board/qna_board_list.jsp">패션제안</a></li>
		<li><a href="./board/hot_girl_list.jsp">Hot girl</a></li>
	</ul>
	</li>
	-->
</ul>

<ul>
	<li><a href="#">Q & A</a></li>
	<li><a href="#">MYPAGE</a></li>
	<li><a href="#">CART</a></li>
	<li class="current_page_item"><a href="../login.jsp"> <%
	String sessionId = (String)session.getAttribute("shop_id"); 
	if(sessionId == null)
	{
	%> LOG IN <%
	}
	else
	{
	%> <%=sessionId %> LOG OUT <%
	}
	%> </a></li>
	<li class="last"><a href="../join.jsp"> <% 
	if(sessionId == null)
	{
	%> JOIN US <%
	}
	else
	{
	%> <%
	}
	%> </a></li>
</ul>
</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="wrapper">
<div id="wrapper-btm">
<div id="page">

<table>
	<tr>
		<td>작성자:${writer}</td>
		<td>제목:${subject}</td>
		<td>내용:${contents}</td>
	</tr>
</table>

</div>
</div>
</div>
</body>
</html>